package com.msf.swingdemo;

import com.msf.swingdemo.container.GlassExample;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.awt.*;

@SpringBootApplication
public class SwingDemoApplication {

    public SwingDemoApplication() {
        GlassExample glassExample = new GlassExample();
        glassExample.setVisible(true);
    }

    public static void main(String[] args) {
        SpringApplication.run(SwingDemoApplication.class, args);

//        EventQueue.invokeLater(() -> {
//            GlassExample glassExample = new GlassExample();
//            glassExample.setVisible(true);
//        });
    }

}
